Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

127 fonsizes na celej stranke #257

Merged
merged 15 commits into from
Dec 9, 2023
Merged

Conversation

Matushl
Copy link
Member

@Matushl Matushl commented Dec 8, 2023

Este tam potom zostava

@Matushl Matushl requested a review from rtrembecky December 8, 2023 23:59
This was linked to issues Dec 9, 2023
{caption}
</Typography>
<Typography variant="h2" component="p" textTransform="none" fontStyle="normal" fontWeight={400}>
<Stack key={id}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key={id} redundant

))}
</Stack>

<Typography variant="body1" component="p" fontWeight={275} textTransform="uppercase">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ale tento component="p" je novy a asi by som ho skusil odstranit. a fontWeight 275 ach 😄 🙈

<span dangerouslySetInnerHTML={{__html: `${children.slice(currentPosition, m.index)}`}} />,
<Typography
variant="body1"
component="span"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

myslim ze je to default

result.push(
<Typography
variant="body1"
component="span"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aj tu

@@ -25,15 +26,19 @@ export const Latex: FC<{children: string}> = ({children}) => {
const matches = Array.from(children.matchAll(re))

if (matches.length === 0) {
return <>{children}</>
return <Typography variant="body1" component="span" dangerouslySetInnerHTML={{__html: `${children}`}} />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aj tu

<ProfileLine label={'tel. č.'} value={profile?.phone || '-'} />
<ProfileLine label={'tel. č. na rodiča'} value={profile?.parent_phone || '-'} />
</Stack>
<Stack direction={'row'} mt={3} spacing={2}>
<Stack direction={'row'} mt={3} spacing={5}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v tomto subore je na Stacku spacing niekolko krat, nahradil by som gapom

<div>
<form className={styles.form} onSubmit={handleSubmit(onSubmit)}>
<form onSubmit={handleSubmit(onSubmit)}>
<Stack spacing={5}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zas spacing

</Stack>
</>
) : (
<Typography variant="body2" component="span" sx={{color: 'gray'}}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

component span

@@ -80,7 +81,7 @@ export const SchoolSubForm = ({control, watch, setValue}: SchoolSubFormProps<Sch

const requiredRule = {required: '* Toto pole nemôže byť prázdne.'}
return (
<div className={styles.form}>
<Stack gap={spacing}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toto je funny teda 😄

@Matushl Matushl force-pushed the 127-fonsizes-na-celej-stranke branch from 8901ea1 to 1942946 Compare December 9, 2023 12:29
@Matushl Matushl merged commit 821c08d into master Dec 9, 2023
1 check passed
@Matushl Matushl deleted the 127-fonsizes-na-celej-stranke branch December 9, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redesignovat "chcem riesit" dialog Font sizes na celej stranke
2 participants